<%-- 
    Document   : indexA
    Created on : 3/05/2010, 12:32:51 PM
    Author     : Damc
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%
//borra el cache de la pag
response.setHeader( "Pragma", "no-cache" );
response.addHeader( "Cache-Control", "must-revalidate" );
response.addHeader( "Cache-Control", "no-cache" );
response.addHeader( "Cache-Control", "no-store" );
response.setDateHeader("Expires", 0);

java.util.List<String> pub;
HttpSession sesion = request.getSession();
try{
    if(!sesion.getAttribute("rol").equals(3) || sesion == null){
        sesion.invalidate();
        response.sendRedirect("../inicio.jsp");
    }
}catch(Exception w){ response.sendRedirect("../inicio.jsp");
}

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link href="../pagina.css" rel="stylesheet" type="text/css" />
        <script src="../js/Encriptacion.js" type="text/javascript"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>PubliFacil: Publicidad para todos</title>
    </head>
    <body>
        <jsp:include page="../pag/cabe.jspf"/>
        <jsp:include page="../pag/izqA.jsp"/>
<div id="central" class="clear-block">
            <h1>Bienvenido!!!!</h1>
            <p align="center">Que desea hacer hoy?</p>
            <div align="left" >
                <table  BORDER=2 align="center">
                    <tbody>
                        <tr>
                            <td align="center">
                                <form name="registro" method="post" action="ControlA" >
                                   <input type="hidden" name="request" value="editar">
                                   <div align="center"><input name="boton" type="submit" value="Editar Perfil"></div>
                               </form>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <jsp:include page="../pag/rede.jspf"/>
    </body>
</html>